var frmvalidator  = new Validator("contact");  
frmvalidator.addValidation("Cfirstname","req","Please enter your First Name");
frmvalidator.addValidation("Clastname","req","Please enter your Last Name");
frmvalidator.addValidation("Cemail","req","Please enter your email address");
frmvalidator.addValidation("Cemail","email", "The email address is not a correct email format");
frmvalidator.addValidation("Cphone","req","Please enter your phone number");
frmvalidator.addValidation("csubject","req","Please enter subject");
frmvalidator.addValidation("comments","req","Please tell us what you want to ask");

